package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.pojo.Comment;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author yfsper233
 * @time 2021/7/9-23:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsCommentListVo {


    private long total;
    private List<Comment> items;



    public static class ItemsBean {
        /**
         * id : 257
         * valueId : 1009024
         * type : 0
         * content : 瘫上去就出不来了，很舒服，跟muji差距不大，回头买个套换换颜色又是另一个风格。
         * userId : 1
         * hasPicture : true
         * picUrls : ["https://yanxuan.nosdn.127.net/1811203fecc7b720d3d00cd33acfdbfd.jpg"]
         * star : 1
         * addTime : 2018-02-01 00:00:00
         * updateTime : 2018-02-01 00:00:00
         * deleted : false
         */

        private int id;
        private int valueId;
        private int type;
        private String content;
        private int userId;
        private boolean hasPicture;
        private int star;
        private String addTime;
        private String updateTime;
        private boolean deleted;
        private List<String> picUrls;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getValueId() {
            return valueId;
        }

        public void setValueId(int valueId) {
            this.valueId = valueId;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public boolean isHasPicture() {
            return hasPicture;
        }

        public void setHasPicture(boolean hasPicture) {
            this.hasPicture = hasPicture;
        }

        public int getStar() {
            return star;
        }

        public void setStar(int star) {
            this.star = star;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public List<String> getPicUrls() {
            return picUrls;
        }

        public void setPicUrls(List<String> picUrls) {
            this.picUrls = picUrls;
        }
    }
}
